<?php
$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8');
$this->headTitle()->setSeparator(' - ');
$this->headTitle('Smart Venue, Choose Your Venue');
$this->headTitle($this->title);
echo $this->doctype('XHTML1_TRANSITIONAL') . "\n";
?>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <link rel="stylesheet" href="<?=$this->baseUrl()?>/css/main.layout.css" />
        <script type="text/javascript" src="<?=$this->baseUrl()?>/js/jquery-1.6.1.min.js"></script>

        <?php echo $this->headMeta(); ?>
        <?php echo $this->headTitle(); ?>
    </head>
    <body>
    <div id="wrapper">
        <div id="header">
            <div id="top">
                <img src="<?=$this->baseUrl()?>/images/logo.png" alt="Logo Backend"/>
                <div id="login">
                    <?=$this->action('status','index')?>
                </div>
            </div>
        </div>
        <div id="content">
            <?php 
                if(isset($this->indexctrl))include 'front.php';
                else if(isset($this->bookingctrl))include 'booking.php';
                else if(isset($this->errorctrl))include 'error.php';
            ?>
        </div>
        <div id="footer">
            <b>Copyright</b> PT. Bit Zero Informatika <?=date("Y")?>
        </div>
    </div>
    </body>
</html>